package decorator;

/**
 * @ClassName SpanTextNode
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/8/5 11:28
 * @Version 1.0
 */
public class SpanTextNode implements TextNode {

	private String text;

	@Override
	public void setText(String text) {
		this.text = text;
	}

	@Override
	public String getText() {
		return "<span>" + text + "</span>";
	}
}
